package JAVACORE_TRAINING.OOPS_CONCEPTS.MVCMODEL;

public class Controller {	
	
	/***
	 * Nghiệp vụ thực thi xác thực thông tin TK
	 * @param objAcc
	 * @return True Or False
	 */
	public boolean CheckAccount(AccountObject objAcc){
		Model objModel = new Model();
		if(objModel.KiemTraSuTonTaiTK(objAcc)==true){
			if(objModel.KiemTraSoDuTK(objAcc)){
				if(objModel.KiemTraTrangThaiKHTK(objAcc)){
					if(objModel.KiemTraTrangThaiLockUnLockTK(objAcc)){
						return true;
					}return false;
				}return false;
			}return false;
		}return false;
	}	
}
